package com.itoken.common.constant;

/**
 * Created by 蔡超 on 2019/1/21.
 */
public enum HttpStatusCodeEnum {
    Hystrix(200,"上游数据访问失败");

    private int code;
    private String value;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    HttpStatusCodeEnum(int code, String value) {
        this.code = code;
        this.value = value;
    }



}
